.PHONY:all
all: Read Write

Read:read.cc
	g++ -o $@ $^ -std=c++11 -lpthread
Write:write.cc
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f Read Write